package cn.aaalei.shorturl.service;

import com.google.zxing.WriterException;

import java.io.IOException;
import java.io.UnsupportedEncodingException;

public interface ApiService {
    String getShort(String url) throws UnsupportedEncodingException;
    String getQRCodeUrl(String url) throws WriterException, IOException;
}
